<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TMCStepper: SW_MODE_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">TMCStepper
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('struct_s_w___m_o_d_e__t.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="struct_s_w___m_o_d_e__t-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SW_MODE_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a93c76cae7a5a4da4a24a2bcc74cf1080"><td class="memItemLeft" >union {</td></tr>
<tr class="memitem:a273bdbdbc19f390ceaac4cad4fee0221"><td class="memItemLeft" >&#160;&#160;&#160;uint16_t&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a6db8a27da14e18f2869b7c69728e23c2">sr</a>: 12</td></tr>
<tr class="separator:a273bdbdbc19f390ceaac4cad4fee0221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f0a8dba207edf319495707ac9962b76"><td class="memItemLeft" >&#160;&#160;&#160;struct {</td></tr>
<tr class="memitem:ab979f6251892b1e8a21956cf16a8f0b4"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a77188de0f1dde018ba3c59cd34706d0c">stop_l_enable</a>: 1</td></tr>
<tr class="separator:ab979f6251892b1e8a21956cf16a8f0b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d21fe43b60c3310087124153b518183"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#ac04574fb2d540725306e00811e72ae0d">stop_r_enable</a>: 1</td></tr>
<tr class="separator:a4d21fe43b60c3310087124153b518183"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada97a701fd3ab7701a776c9e2fad8d71"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a27997a1e5c0e139b9b2cd90ec133ceb6">pol_stop_l</a>: 1</td></tr>
<tr class="separator:ada97a701fd3ab7701a776c9e2fad8d71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc86d58545842c85e8fefec19f3e9180"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a27fcd39d4a80cff341264a47fec8f1af">pol_stop_r</a>: 1</td></tr>
<tr class="separator:adc86d58545842c85e8fefec19f3e9180"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f3f7960df869a5a45af0c7b06baefd8"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a62946843370651f3e56f033e537a7473">swap_lr</a>: 1</td></tr>
<tr class="separator:a3f3f7960df869a5a45af0c7b06baefd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7c3f3ef7a40728cc4bbf241b61374a2"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#afe97462a02c7a0423f8904d45ce6a99c">latch_l_active</a>: 1</td></tr>
<tr class="separator:ac7c3f3ef7a40728cc4bbf241b61374a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a643235a8ad72e83836b41e580636bf10"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a2121bfd9849c1b8d509c9b8560941fad">latch_l_inactive</a>: 1</td></tr>
<tr class="separator:a643235a8ad72e83836b41e580636bf10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac33371174e92d10604e76325e6951ed8"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a11c10322841539f624836d78bed7278e">latch_r_active</a>: 1</td></tr>
<tr class="separator:ac33371174e92d10604e76325e6951ed8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5aff991909f85f8a3d53f38edb511f2c"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#aaedac544cc895656e81562ee502a8d14">latch_r_inactive</a>: 1</td></tr>
<tr class="separator:a5aff991909f85f8a3d53f38edb511f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c9be8757ffc75d3e0b402ea01cb7c78"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a38b9876420f5c799e04d2aeb182ae413">en_latch_encoder</a>: 1</td></tr>
<tr class="separator:a5c9be8757ffc75d3e0b402ea01cb7c78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9d7f8e3e735031c609b6785b2e59791"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a928b00187288c54654e6e316a5963c84">sg_stop</a>: 1</td></tr>
<tr class="separator:ad9d7f8e3e735031c609b6785b2e59791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3f9c5e4e09085c23ce977a7636429da"><td class="memItemLeft" >&#160;&#160;&#160;&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="struct_s_w___m_o_d_e__t.html#a90ada92f5eab3f73e995389ce60f8af4">en_softstop</a>: 1</td></tr>
<tr class="separator:aa3f9c5e4e09085c23ce977a7636429da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f0a8dba207edf319495707ac9962b76"><td class="memItemLeft" valign="top">&#160;&#160;&#160;}&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a5f0a8dba207edf319495707ac9962b76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93c76cae7a5a4da4a24a2bcc74cf1080"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a93c76cae7a5a4da4a24a2bcc74cf1080"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a2b84df18bcef3c8a9e6e4a3da506c6ef"><td class="memItemLeft" align="right" valign="top">constexpr static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_w___m_o_d_e__t.html#a2b84df18bcef3c8a9e6e4a3da506c6ef">address</a> = 0x34</td></tr>
<tr class="separator:a2b84df18bcef3c8a9e6e4a3da506c6ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00101">101</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a93c76cae7a5a4da4a24a2bcc74cf1080"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93c76cae7a5a4da4a24a2bcc74cf1080">&#9670;&nbsp;</a></span>@149</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">union { ... } </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2b84df18bcef3c8a9e6e4a3da506c6ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b84df18bcef3c8a9e6e4a3da506c6ef">&#9670;&nbsp;</a></span>address</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">constexpr static uint8_t SW_MODE_t::address = 0x34</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">constexpr</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00102">102</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a38b9876420f5c799e04d2aeb182ae413"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38b9876420f5c799e04d2aeb182ae413">&#9670;&nbsp;</a></span>en_latch_encoder</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::en_latch_encoder</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00115">115</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a90ada92f5eab3f73e995389ce60f8af4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90ada92f5eab3f73e995389ce60f8af4">&#9670;&nbsp;</a></span>en_softstop</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::en_softstop</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00117">117</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="afe97462a02c7a0423f8904d45ce6a99c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe97462a02c7a0423f8904d45ce6a99c">&#9670;&nbsp;</a></span>latch_l_active</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::latch_l_active</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00111">111</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a2121bfd9849c1b8d509c9b8560941fad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2121bfd9849c1b8d509c9b8560941fad">&#9670;&nbsp;</a></span>latch_l_inactive</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::latch_l_inactive</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00112">112</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a11c10322841539f624836d78bed7278e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11c10322841539f624836d78bed7278e">&#9670;&nbsp;</a></span>latch_r_active</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::latch_r_active</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00113">113</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="aaedac544cc895656e81562ee502a8d14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaedac544cc895656e81562ee502a8d14">&#9670;&nbsp;</a></span>latch_r_inactive</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::latch_r_inactive</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00114">114</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a27997a1e5c0e139b9b2cd90ec133ceb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27997a1e5c0e139b9b2cd90ec133ceb6">&#9670;&nbsp;</a></span>pol_stop_l</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::pol_stop_l</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00108">108</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a27fcd39d4a80cff341264a47fec8f1af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27fcd39d4a80cff341264a47fec8f1af">&#9670;&nbsp;</a></span>pol_stop_r</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::pol_stop_r</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00109">109</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a928b00187288c54654e6e316a5963c84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a928b00187288c54654e6e316a5963c84">&#9670;&nbsp;</a></span>sg_stop</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::sg_stop</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00116">116</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a6db8a27da14e18f2869b7c69728e23c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6db8a27da14e18f2869b7c69728e23c2">&#9670;&nbsp;</a></span>sr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t SW_MODE_t::sr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00104">104</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a77188de0f1dde018ba3c59cd34706d0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77188de0f1dde018ba3c59cd34706d0c">&#9670;&nbsp;</a></span>stop_l_enable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::stop_l_enable</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00106">106</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="ac04574fb2d540725306e00811e72ae0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac04574fb2d540725306e00811e72ae0d">&#9670;&nbsp;</a></span>stop_r_enable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::stop_r_enable</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00107">107</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<a id="a62946843370651f3e56f033e537a7473"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62946843370651f3e56f033e537a7473">&#9670;&nbsp;</a></span>swap_lr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SW_MODE_t::swap_lr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_t_m_c5130__bitfields_8h_source.html#l00110">110</a> of file <a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/source/<a class="el" href="_t_m_c5130__bitfields_8h_source.html">TMC5130_bitfields.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="struct_s_w___m_o_d_e__t.html">SW_MODE_t</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
